//
//  UItil.m
//  XYMaterial
//
//  Created by 肖扬 on 15/12/9.
//  Copyright © 2015年 肖扬. All rights reserved.
//

#import "UItil.h"

@implementation UItil
+(NSString *)getNow{
    NSDate *today = [NSDate date];
    NSDateFormatter*df = [[NSDateFormatter alloc]init];//格式化
    [df setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
    NSString* now = [df stringFromDate:today];
    NSLog(@" s1s1s1s%@",now);
    return now;
}
@end
